home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
com
/
computer
/
casio_st
/
prog_fx
/
oisac2
/
lib_p9.txt
< prev
next >
Wrap
Text File
|
1994-03-01
|
828b
|
9 lines
1 ' *** OISAC 2 *** LIB->P9 ***
10 CLS:PRINT"**** OISAC 2 *** LIB -> P9 ****";:DEFSEG=0:R=PEEK1716*256:P=PEEK1858+PEEK1859*256:DEFSEG=20480:L$=CHR$(13):FORJ=7TO12:L$=L$+CHR$(PEEK(P+J)):NEXT:GOSUB100:AD=X:S=PEEK(P+2)*4096:P=P+3:GOSUB100:AF=X:D=AF-AD
15 PRINTL$"("D128+1") -> P9 O/N ? ";:INPUT@1;R$:IFR$<>"O"THEN50ELSEDEFSEG=0:P=R-150:GOSUB100:D9=X:IFD>FRE1THENPRINT"RAM < LIB":END
20 P=1703:GOSUB100:DM=X:a=D9+D:X=a:GOSUB200:P=R-147:GOSUB200:P=R-165:GOSUB200:P=1706:GOSUB100:FM=X:I=FM-DM:X=D9+D+I:GOSUB200:P=R-162:GOSUB200:P=1771:GOSUB100:A=X:f=DM-1:e=I+f:o=a+I-1:POKEP,204:POKEP+1,247:POKEP+2,5:GOSUB2090
40 POKEP,A MOD256:POKEP+1,A256:POKEP+2,0:FORI=0TOD-1:DEFSEG=S:B=PEEK(AD+I):DEFSEG=0:POKED9+I,B:IFI MOD128=0THENPRINT"*";
45 NEXT
50 BEEP:END
100 X=PEEKP+PEEK(P+1)*256:RETURN
200 POKEP,X MOD256:POKEP+1,X256:RETURN